package com.tedu.egmvc3.mapper;

import com.tedu.egmvc3.pojo.entity.User;
import com.tedu.egmvc3.pojo.vo.UserListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface UserMapper {
    void insert(User user);

    List<UserListVO> list();

    int delete(Long id);

    int update(User user);
}
